Fixed devise signup and upgrade Devise to 3.1