Simple authentication generator for Rails 4