Profiles updated

added functions to the adminpanel.