Changed login and register activity. Added string resources.