Added user login functions in backend

api/userLogin.php accepts a username and a password via POST and will
check whether this user is already logged or not;
include/signin_api.php contains login related functions