added tables, need to rewrite viewerdb funcs
added get & set user profile, added admin field in user db
Merge branch 'master' into risky
bug fixes, profiles in SQL, etc