add from,view,url,template for profile