AddProject function and some fixes in registration added