register/login work completly done