Fixed user issue and media serving.
Updating gitignore file.