Added code to determine owner of projects using group owner. Also refactored code to so current user is controller variable.