Add redirect to login on main#index