add logger
login fixed and logout implemented along with proper login loged out page workflow