Removing duplicate code to get user from session.
Adding access to contribution folders using DI JCR sessions.