adding user session when login and insert training sesison records