users.php code review.  unnested somethings.