fixed projects php to only show projects based on user type and reverted changes in login.php