Added account creation and user login functionality to the backend