added loging decorator for user view functions