Set maxAge for session
better canEdit check
Use shortId for mongoose models