Added flash alerts and notices
Added logic to display login status in the application view