some fixes and user function in projects added

now the project owner can define the user function.