starting activites outside activity class for login