add "edit profile" button to layout

Added "edit profile" link to layout, displayed only after signed in.