added login and registration pages and fixed all links to these pages.