added create room functionality to view