adds bot creation page and server socket functions