@Override
	public void doFilter(ServletRequest req, ServletResponse resp,
			FilterChain next) throws IOException, ServletException {
		HttpServletRequest request = (HttpServletRequest)req;
		HttpServletResponse response = (HttpServletResponse)resp;
		
		Member member = (Member)request.getSession().getAttribute("member");
		if(member != null 
				|| request.getServletPath().startsWith("/auth")
				|| request.getServletPath().startsWith("/member/signup")){
			next.doFilter(request, response);
		} else {
			response.sendRedirect(request.getContextPath()+"/auth/loginForm.do");
		}
	}