add profile factory for storing user info