Add tests for user logged in and replace error message page with add message and redirect