Got db connected and users registering and logging in. fixes #1 fixes #2 fixes #3