Started to implement register form funcitonality