added a user on the main and login transaction