adding a new object to serialize and keep track of user settings
add a property
giving it the ability to be serialized
adding function that does the actual saving
calling the save function when the enter enters the background
storing user name and password in the data object for easy autologin
consolidating where the login checking is done