Also moved User observer code to Application observer
This commit adds the layout for the profile page, for users and staff members.