Add session_start()
Change handling of messages