modification in the condition for blocking user
current user constraint added