fixed a bug crashing the app when pressed forgot password