Cleanup and some minor changes

Signed-off-by: Steven Hoffman <git@fustrate.com>
Separate users from auth module

Signed-off-by: Steven Hoffman <git@fustrate.com>
SQL updated & code cleanup

Signed-off-by: Steven Hoffman <git@fustrate.com>
Merge branch 'master' of git://github.com/SimpleMachines/smCore