add two factor route
add code for two factor auth route
use default view or view from config
add two factor auth view
swap login and two factor view
add first tests for two factor auth
fix undefined routes in prototype methods