fixed broken links on login & register pages
merged auth stuff