Activity takes in account user login