Implemented user login and delete endpoints