added edit button to category and searchresults if admin is loggedin