Starting to implement the POST /login endpoint