added devise basic authentication