Added log-in functionality
Adding flash alerts and notices