Hotfix/add error messages to edit forms

This PR adds a message when someone calls the promote or edit page but is either not logged in or has not sufficient rights to execute the actions.

Yes, there are more elegant ways to do that, but it works out. Ideas on how to improve it are very welcome!