changed set_username to set_user and removed extra console.log