add logout to menue and add application controller