Fixed login redirect url, added local media static serving