Fix some bugs

Fix situation, when not authorized user tries to solve assignment
Remove excess scripts