Adding 'view account' event listener in the MainPage Template, and adding code to display the user details template, need to work on the data passing