added login page and menu functionality