First part of authorization part done