*refactor code to modern objective-c
*change login and logout to segue driven