fixing saving data to tables
Merge pull request #5 from ValkyrieUK/user_profiles

fixing saving data to tables