Changed user model: replace username with email.
Added user model to admin panel.
Added login/logout links for admin panel.
Added session protection setting.