profile improvement
extract user context to utility method