add code and templates for lobby