added loginActivity