login security with custom login page
added initial code for user authentication from database