implemented authentication, home-page, logout