Added login and signup endpoints.