Authentication module login(), createUser() and authorizeRequest() functions complete