Added content-type to all the ajax requests
Removed close icon on the login screen
Set the icon at startup
Separate logic from presentation