updates to login and userData