Deleted unused tests
Fixed user looses password bug