Modificated class activity_login