Moved flash message display to base.html.twig.
Placed selected PI into main menu and moved logout to side menu.
Moved logout link from base to login template.
Removed associations with User entity.
This reapplies Fernando's commit but without all the mess of deleting required files.
Update your schemas, clear your cache and restart apache.