Added flash notices for log in and alerts for failed log ins