Added getUserDetails + minor fixes