move session[:laptop_id] to index