dynamics for register, login, and profile