Added requirements for username/password input for both logging in and registering. Check MainActivity.java for the change.