persistence DB Register and Login functional