Changed random method for create users and codes. Added some test for check login in sms method.