PassportJS now works with encryption. File model no longer keeps the uploader's username. Now it keeps his id instead. Repository pattern added for higher level of abstraction. Encryption works with repository pattern (tested). TODO: File repository to work with uploaded files.