deleted debug alerts and redirecting to member_profile