getting familiar with the initial framework, copying some signup methods from p2