implement registration page