added cover photo functionality