Pass in a username and password and this function will create a user object and fillthe object with all the user's information.
factoryObject::loginUser($username, $password)