Added the shared preferences for storing login credentials. Added settings option to choose whether to autologin or not.