Added middleware to django to allow CORS requests
Person login implementation from client side