Relcated login view, better routing authentication logic. (#19)