If you're a beginner, I assume you're teaching yourself, or you'd be in a class that gave you direction and provided you with meaningful exercises. As you're learning, there is no benefit in using built in controls, you should write your own login control as an exercise. It goes without saying that, as a beginner, you should not be writing a login control that anyone will use, you should know what you're doing before attempting to write something that people are going to deliberately try to break. But then, as a beginner, you shouldn't be writing anything that you're paid for anyhow, it's just that security piles on an extra layer of 'no way'.