Add @login_required to homepage