I have fixed the issue with the lost block in the upper right of the header where the user cant access the manage and logout in the summary and work view module. The issue was that the controller did not return the current authentication details of the user. By fixing the controller, this issue has been solved. Now the user can log in and access their account information as well as manage and logout from the summary.