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

I don't see a problem. This query is vast, so splitting it up is legitimate.