Simple authentication generator for Rails 4.1