added not logged in profile viewing
resolved conflicts in index page and default controller