add login page but not finished yet, neet to be refactored