completes signin and signout methods and testing