Create log in functionality and flash alerts and notices