Updated users scope definition to not to use where
What does this MR do and why?
To address the best practices when defining a scope for a model As per the discussion here, scopes should not contain where statements and with this change !141907 (comment 1782608999)
Edited by Smriti Garg