I am working on a social media tool, and upon adding a new account it takes me to a new screen but before I can go and view the added account in the new screen I am supposed to set a few toggle? How do i do this without showing a popup?
Simply set a cookie that checks if the user is already registered/logged.
Some basic pseudo code to better explain what I mean
if $new_user => $popup else => $page2
Additionally, settings shouldn't be in that popup. If you use oauth or any other kind of authorization method, leave the popup only for login purposes, then have an user admin page with all the settings. Otherwise, how will the user get back to that popup again if s/he needs to make any adjustments?