login fix / db update

relations are now enforced