added basic authentication with devise
added tests for basic authentication
updating pull from latest version