critcal bugfix

Fixed bug where session get's destroyed & getUser() returns null
added additional information in example concerning lovalhost debugging