Security issues , however error handling will have to be improved