finished basic register page and functionallity