Updated controller with removal of friendshiprequest db classes.