Added requirements for username/password input for both logging in and r...

...egistering. Check MainActivity.java for the change.