add debug login
set before_filter :user
use helpers