Managing registration and login processes