Changed how login works and removed unecessary leftovers from dbconnect