slight syntax change to login activity