fixed nullpointerexceptions on user retreival