Update login logic++