Add user to db on login