created initial lobby page
prevent stack overflow when encoding json by not exporting cyclic reference
added logout link