start to add php view pages and login function