fix controller logged in attendance