add signup function and make tags function correct.