get only master version from FETCH_HEAD
get only master version from FETCH_HEAD
Fix many Notice in usermanagement

Fix many possible Notice and the bug that no message appear with
error_reporting(E_ALL) when you remove all Projects from an account.
(old: line 76, new: Line 95 to 101)