cleaned registration view and commented a test