Removed code that caused bug in edit profile form

This is my actual submission for Project 2. 1 day late.