Creating log in functionality
adding flash alerts and notices