Fixing account.php and filing some more bugs

Fixed account.php redirect bug and added more bugs