createLink method
All links being created using same function