def logout
  session[:user_id] = nil
  flash[:notice] = "Wylogowano"
  redirect_to :action => "index", :controller => "site"
end

