Added admin test and a change user function