added to nav bar and added alerts