Added Adding record functionality