fix double form save in login view