Added condition checking for error msg display
changed the icons of login and logout in navbar
Fixed the active navbar link problems