Login input validation, save credentials to SharedPref, Documentation