debug login + restful missing id