enable mybatis
add function to userDao to find user by id
add junit test case for find user by username;
fix bugs