ruby version
implemented log in