There is a sample project here: https://github.com/coronalabs-samples/business-app-sample that has some simple form setups as well as database usage (in addition to a bunch of other stuff). In the SampleApps folder that ships with Corona there is a whole section on Interface things from text boxes to buttons and tableViews, etc. The link above is a complete working app, the samples are a little more “show off this particular API or set of APIs”. At that same site is a fully functional Weather app that shows how to use a lot of interface elements.
We just published a guest tutorial this week on the blog about using Google and Apple to do sign ins. You can also use the Facebook plugin to set up a Facebook login. There are also a couple of plugins (PlayFab, GameSparks) that provide social media type login activities as well.
But if you want to setup your own username/password system, not only will you need a form to log them in, you will need a form to let them create an account. You will need server API endpoints (perhaps created in PHP, Node.js, .NET etc.) to handle the sign in and registration (unless you’re using a service like PlayFab). You will have to become an expert on Internet security, password encryption, authorization tokens, etc. because you don’t want your user database to be hacked.
Is this scary? Yes.
Since you haven’t said what kind of multiplayer game you’re wanting to make (a simple turn based game like Words with Friends) or a complex multi-player RPG, it’s really hard to advise you on the route you should take,
But I can say this, don’t bite off more than you can chew. Since you’re just learning Corona and Lua, take the time and build a bunch of small simple games and don’t jump straight to the harder complex game. It can wait until your skills are ready.
Rob