Added menu to mainpage
Added JSON library
Added register functionality. Needs better info texts when register fails