rails db to store image and username