Implement sign out
Add tests for password confirmation