fixed bug in problems view function where users who were not registered threw an error when they submitted code