added main controller which allows you to enter a username