added logic for index page to redirect user to manage-users once they have logged in already