added profile factory for storing user info
Merge pull request #31 from gregerg/master

add profile factory for storing user info