Implement authentication. (Still requires some work)

Add some functionality to shopping cart.