fixed while-for loop
fixed while-loop
added getUserByUID 

----
testing