Adding login endpoint.