creates tables in db, add function to check passwords, removed unecessary line in socketHandler.js