sign in function
My first commit after creating my own branch
Merge branch 'aliu'
merged conflicts in the the follow.php, login.php and the official.php file