 		response.redirect config.defaultInstanceForGuests
 
 
-app.get '/about/', (request, response) ->
-	quickRender request, response, 'about'
-
-
-app.get '/register/', mustNotBeAuthed, (request, response) ->
-	quickRender request, response, 'register'
-
+app.get '/about/', quickRender 'about'
+app.get '/register/', mustNotBeAuthed, quickRender 'register'
+app.get '/login/', mustNotBeAuthed, quickRender 'login'
+
+
+# And the rest
 
 app.post '/register/', mustNotBeAuthed, (request, response) ->
 	options = request.uonline.basicOpts

if newrelic?
	app.locals.newrelic = newrelic


mustBeAuthed = (request, response, next) ->
	if request.uonline.basicOpts.loggedIn is true

			# console.log "\n#{time}: t: #{logged}\n"
			if cb? then cb(error, result)


# Set up Express

app = express()
app.enable 'trust proxy'
app.use express.logger()
