Add profile and edit profile views, some little tweaks

Again use something external, or at least have a place inside our project where to place this function