pass user object into view