Many fixes to the db binding / login logic