cleaned up useraccount retrieval code