DATABASE REVAMP

Changed database version
Update for preference works
username is being passed around