'if' condition for Users database.