Moved logout button to header.
Had to delete User user = session.getAttribute("user");
from all jsp files that include header wich means from all.

Also deleted UserManagement