Overwatch keep dissconecting

i bought overwatch yestarday and i keep getting a “lost connection to game server” error and then i need to put a username and password which cant let me press login

PC or Console? Where are you connecting from? Wired or WiFi? Have you tried the troubleshooting steps for connection issues?