add user relation, change retval of end point, chenge session

* end point will now return false if error instead of nil
* add user relation
add basic group functionalities