Add recording data into UserAttempts table

Add recording data into UserAttempts table using the information about
user's answer for assignment