added links to log in/out/register. fully functional