Login form on postgresql Database

hello, i want to create simple login form with postgresql Db is there any tutorial/example, sorry for my english thanks…