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

@boom1992 is right. We should use those constants in general.