Fixed authentication code, implemented basic launcher functionality