extra security, display edit, delete only if loggedin