added register page, changed login routes