changing paperclip configuration and implementing validation on photo in Checkin model