UserCredentials introduced instead of form parameters for login