Added an invalid profile page and some other minor tweaks.