Refactored authentication process to use strings.xml for strings