the register and login has been tested successfully