Added Code to User Profile Controller and View

Added example code and notes to user profile controller and view files.