Added validations to firendship and small modification to view