running server with 2 commands(register and login) both working