created user update views and fixed controller