Add login activity.
Refactor project