Added geo localization javascript function (Needs more testing)

Added <span> to user registration form to show errors in red

Added a function into datautils.py to get the client's IP from a request object