Added vulnerable login logic