Refactoring friend form