fixes bug when logging in and logging out
Merge branch 'master' of github.com:emmaviolet/photo_sharing_app