finish login
use angular rewrite login