added sign out test and functionality