Added viewing of application from profile and modified links to work with nesting