Discover interview question

how you would build a login page. string manipulation