Adds backend communication for registration page. Still needs UI
updates.