authentication completed(few corrections to be made)