Update login

auto redirect login page to profile when client try back login but don't
log out