activate the login_required and set up the auth package
configure the login manager
preparation for the login process
apply login_required everywhere, work on template and static for login page