[Front-end] Made the login/signups into directives.