update login to return profile