Loginbox changes

Updated the css for loginbox
Added the script to index.php
Added some functions to startpage.js
Added a close button for loginbox in basic.php