Remove password digest error from displaying to users, cleaned up flash code