changes to dashboard and friend form handling