changes save function to automatically activate user on save