Task 6.1 solution
Fixed linking errors,added require for user