Fixes bug in user activation
Fixes bug in user sign in
Adds user logout