debugged cookie and utils
added cat
added upload functionality