Replaced randomstring with shortid