Added devise for user basic authentication