fixed code in loginCRActivity that reflects the moving of the User class outside of the Database class