added specified version of ruby gem file
added login functionality