moved connected Resources to partial and added some css to to