implemented the basic for a usergrid session authentication