Fixing return value on the login method to an array - renaming the method to prevent it from being service specific