log in only if username and password is correct
refactored LoginActivity
some pretty changes to LoginActivity