Added some means of connecting to the database. What a clusterpuke!
Now it should be possible to login and if logging in is successful,
the app will redirect to the profile page.