bug fix 
- NullpointException fix the Resultset 
- Get user main role