修改默认路由和publics controller加上current_user
flash messages中的info改为notice