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

isn't $pass2 already the hashed pwd? Why hash it again?