Add installations stuff and clean up in MainActivity
Adding new fields to Installation Class
Refactored the authentication and added better logout flow