updated index.php, autheticate and redirect back
updated some variables, renamed database file path
added styles and wrapper
changed logout link path
variable handling, fixed names of few variables