 					articles: files
 
 app.post '/admin/uploads', users.check, (req, res) ->
-	console.log(req.body)
-	console.log(req.files)
-
 	slug = sluggify req.param 'title'
 	filename = sluggify req.files.upload.name
 	uploads.save {

app.get '/admin/*', users.check, (req, res) ->
  renderError res, "<b>404:</b> Are you sure that's the right URL?"
      
app.get '*', (req, res) ->
  res.render front + 'view'
    locals:


	}, req.files.upload, (err, docs) ->
		if (err)
      console.log(':: CouchPress :: ERROR -> \n' + err)
      res.redirect '/500'
		else
			res.redirect '/admin/uploads'

app.get '/admin/settings', users.check, (req, res) ->
  adminConfig = require('./config').admin
