Added basic register html and basic login logic. Fixed minor compile
bugs