fixed user methods; added test