Implement login
Fix NPE when destroying MainActivity
Save credentials on successful login
Implement logout