Stable login and registration pages using sharedpreferences to store data instead of SQLite