Fixed bug in registerUser
Sound at login, jQuery and main.js

Moved all javascript functions into a seperate file, main.js.
Downloaded jQuery for local uses.
Implemented a sound playing at login.