Implements register form