user_exist_in_db complete impl