redirect loops problem fixed. RESTful URI's implemented.