changed MainActivity so the login screen finishes when you press login