fix registration / login