use callback function for return the response to client
add nib for stylus and modified views