erb usage example
implemented a simple session demonstration for username, login and logout