adding login and logout
moving config to new file and changing file name