moving no packages alert into ngrepeat loop
fixing redirect from view package page to login page when not logged in