Added functionality to change user