Added profile info in DB and built functionlaity