As you are looking for signin/signup pages, JavaScript library seems to be relevant. You can follow along the link and try out in local as is and based on the desired JS framework chosen, you can then arrive at ways of including it as part of AEM code build.