moved avatar form to partial and use in popup