Bug modification

somethime user not sign in,so current_user is blank.
while my project is running on the production,but redundant js/css lead to errors,so i removed them