Add login and register activity.