Move user right into database
Merge pull request #6 from Darkspawn/master

Move user right into database