Registration page now gets data from server