added time zone to config
fixed bugs in database
updated user database and sql
updated user class for use with database class and fixed bug
created a test file for use with login