Added devise for user login and linked user id to pictures uploaded