loginout have a bug
i think use angular routes have too many problems,and it just fit for picture change
fix logout use "target="_self" and change logout function 's redirect to '/'
have a wrong data in api enter function and main enter function