extend user model
override login redirect
add login page
integrate login and basic authentication