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

Sorry my fault...