add 'end' to users controller