added encryption login functionality and modified the seed.rb