change some string to resource
add the notification and change the logic
fix the problem for normal log
add the login check
fix bugs