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

Why not use PROJECT_TABLE here? :)