Action class to check users from database