Adding end_button setting in exercises see BT#6221
Restoring function removed by error
Fixing logout links
Removing harcoded value (added to do tests)