Added refresh for user information in rp2 and performed a fix for logout in rp2.

Added refresh for user information in rp2 and performed a fix for logout in rp2.