fixed double alerts and created edit profiles page