added routing, initial controllers and login support