signup, login, logout source code

including encryption