Add methods for profile and edit profile views, some other tweaks

You are right. I think we can ignore this.