Added form customization and sign in functionality