make registe and login flow worked