users can now sign out, refactored a lot of specs and added helper for u...

...ser sign in. Also added authorisation so only logged in users can view certain pages