created a userFactory with content, it is sending a get request to get the user info from api
added AuthFactory.js to contain login and logout functions