fix login form
use beforeModel instead, redirect is deprecated plus I'm really just reloading the page