fix customer login and register