Refactored AuthenticationController renamed variable user to credentials and Marcelo created new test for AuthenticationController