Fixed #84. An erro message is now displayed when the user tries to open an action which he/ she is not allowed to view (e.g. admin panel)