Fix UserAttempt model

Fix UserAttempt model