first working version of raventestcontroller java - gets user details