Registration and login works now, database connection as well.