added check for current logged in user