created user controller and implemented functions and started work on submission