encode projects url to database and decode to view