Added messages for login / logout and fixed ie10 js issue