added document types
added links method to user