login, logout,register,db,logs

edited login and register
created logout and db php for admin and dormer
logs - inserts logs at table log