Fixes issue #27

Create separate authentication controller