Fixed DB Problems

The connection to DB works now. It checks the database if
username/password combo is correct. As of now you can't sign up so you
cant add username/password to DB from app