making buscontroller and logout