IMPORTANT: Solved error in manage_users.php: removed session_start() from dbconnect.php and put it at the top of manage_users.php. The same must be done in all other files.