Changed remove_global function, user is loaded via select method.