Changes to the module sample. More functions to the user module