Function login

pub async fn login(
    __arg0: State<SharedState>,
    __arg1: Json<CredentialsRequest>,
) -> Result<Response, ErrorResponse>