update login info and logout view