added signup_success file, made changes in model.py for inserting foreign key value(u_id), added logout link in index.html