Add login funcnality

Merged Yang Liuxin requested to merge add_login_funcnality into master

Merge request reports