I had to copy the `.erlang.cookie` file to `$HOME` directory.
sudo cp /var/lib/rabbitmq/.erlang.cookie $HOME
then i had to give read access to the file
sudo chmod +r ./.erlang.cookie
finally
sudo rabbitmq-plugins enable rabbitmq_management