Added singleton class to ios to save the logged in user