# File examples/camping-abingo-test/camping-abingo-test.rb, line 134
                def post
                        @user = User.find_by_username(input.username)
                        if @user
                                @info = 'A user account already exist for this username.'
                        else
                                @user = User.new :username => input.username,
                                        :password => input.password
                                @user.save
                                if @user
                                        @state.user_id = @user.id
                                        @state.abingo_identity = @user.id
                                        redirect R(Welcome)
                                else
                                        @info = @user.errors.full_messages unless @user.errors.empty?
                                end
                        end
                        render :signup
                end