login check for assessment code